<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Rango</title>
</head>
<body>
<h1>Register with Rango</h1>

{% if registered %}
    Rango says: <strong> thank you for registering!</strong>
    <a href="/Rango/">Return to the homepage</a>
{% else %}
    Rango says: <strong>register here!</strong>

    <form id="user_form" method="post" action="/Rango/register/" enctype="multipart/form-data">
        {% csrf_token %}
        {{ user_form.as_p }}
        {{ profile_from.as_p }}

        <input type="submit" name="submit" value="Register"/>
    </form>
{% endif %}
</body>
</html>